package com.dd.cloud.user.mapper.doctor;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dd.cloud.user.entity.doctor.DoctorEquity;
import com.dd.cloud.user.res.doctor.DoctorEquityDetailRes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Lx
 * @version 1.0
 * @date 2024/2/2
 */
public interface DoctorEquityMapper extends BaseMapper<DoctorEquity> {
    /**
     * 查询医生账号权益
     *
     * @param docId
     * @return
     */
    DoctorEquityDetailRes queryDoctorEquityDetail(@Param("docId") Integer docId);

    /**
     * 查询慈善账号
     *
     * @return
     */
    List<DoctorEquity> queryCsAccount();
}
